package com.siyuanren.gcocp.mapper.base;

import com.siyuanren.gcocp.entity.WxUserVoucher;
import com.siyuanren.gcocp.entity.WxUserVoucherExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WxUserVoucherMapper {
    long countByExample(WxUserVoucherExample example);

    int deleteByExample(WxUserVoucherExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxUserVoucher record);

    int insertSelective(WxUserVoucher record);

    List<WxUserVoucher> selectByExample(WxUserVoucherExample example);

    WxUserVoucher selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxUserVoucher record, @Param("example") WxUserVoucherExample example);

    int updateByExample(@Param("record") WxUserVoucher record, @Param("example") WxUserVoucherExample example);

    int updateByPrimaryKeySelective(WxUserVoucher record);

    int updateByPrimaryKey(WxUserVoucher record);
}